package com.fms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fms.dto.JsonRequest;
import com.fms.entity.AttendanceTask;
import com.fms.vo.AttendanceTaskInfoVO;

public interface AttendanceTaskService extends IService<AttendanceTask> {
    void createAttendanceTask(JsonRequest.AttendanceTaskRequest attendanceTaskRequest);

    Page<AttendanceTaskInfoVO> pageListAttendanceTask(JsonRequest.AttendanceTaskPageRequest attendanceTaskPageRequest);

    void deleteAttendanceTaskById(Long id);

    void updateAttendanceTask(Long id, JsonRequest.AttendanceTaskRequest attendanceTaskRequest);

    void disableAttendanceTask(Long id);

    void enableAttendanceTask(Long id);

    void endAttendanceTask(Long id);
}
